package org.blogwu.learn.designpattern.chapter18.v1;

public class PromotionActivity extends Main {

    private Promotion promotion;

    public void executePromotion() {
        promotion.doPromotion();
    }

    public Promotion getPromotion() {
        return promotion;
    }

    public void setPromotion(Promotion promotion) {
        this.promotion = promotion;
    }

    public PromotionActivity(Promotion promotion) {
        this.promotion = promotion;
    }
}
